import request from '@/utils/request'

// 线索zsgc列表
export function threadLists(params?: Record<string, any>) {
    return request.get({ url: '/thread/list', params })
}

// 线索zsgc详情
export function threadDetail(params: Record<string, any>) {
    return request.get({ url: '/thread/detail', params })
}

// 线索zsgc新增
export function threadAdd(params: Record<string, any>) {
    return request.post({ url: '/thread/add', params })
}

// 线索zsgc编辑
export function threadEdit(params: Record<string, any>) {
    return request.post({ url: '/thread/edit', params })
}

// 线索zsgc删除
export function threadDelete(params: Record<string, any>) {
    return request.post({ url: '/thread/del', params })
}
